{{define "body"}}

<h3>Installed Accounts & Orgs</h3>

<div style="display: flex;">
  {{range $installation := .Installations}}
    <div class="mdl-card mdl-shadow--2dp"
      style="width: 256px; height: 256px; background: url('{{ $installation.AccountIconURL }}') center / cover; margin: 5px;">
      <div class="mdl-card__title mdl-card--expand"></div>
      <div class="mdl-card__actions mdl-card--border"
        style="background: rgba(0, 0, 0, 0.2); display: flex; box-sizing:border-box; align-items: center;">
        <a href="{{ $installation.AccountHTMLURL }}" style="color: #eee; text-decoration: none;">{{ $installation.Account }}</a>
        <div class="mdl-layout-spacer"></div>
        <a href="{{ $installation.HTMLURL }}">
          <i class="material-icons">settings</i>
        </a>
      </div>
    </div>
  {{end}}
</div>
<p>
  Go to <a href="{{ .App.HTMLURL }}">reviewdog app settings</a> to install
  reviewdog app to other accounts.
</p>
<p>
  Go to https://reviewdog.app/gh/{owner}/{repo} to get REVIEWDOG_TOKEN.
  <br>
  Or
  <br>
  Run reviewdog CLI from Travis CI without REVIEWDOG_TOKEN.
  <br>
</p>
<p>
  <pre>
$ reviewdog -conf=.reviewdog.yml -reporter=github-pr-check
  </pre>
  See also <a href="https://github.com/reviewdog/reviewdog">github.com/reviewdog/reviewdog</a>
</p>


{{end}}

